﻿using MediatR;
using SqlSugar;
using System.ComponentModel.DataAnnotations;

namespace StoreISet.Applicationes.Command
{
    public class StoreUpdateCommand:IRequest<int>
    {
        /// <summary>
        /// 主键id
        /// </summary>
       
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int StoreId { get; set; }
        /// <summary>
        /// 门店名称
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public string? StoreName { get; set; }
        /// <summary>
        /// 分店名称
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public string? BranchStoreName { get; set; }
        /// <summary>
        /// 商户地址省
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public int AddressProvince { get; set; }
        /// <summary>
        /// 商户地址市
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public int AddressCity { get; set; }
        /// <summary>
        /// 商户地址县
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public int AddressCounty { get; set; }
        /// <summary>
        /// 详细地址
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public string? AddressMerchantDetailed { get; set; }
        /// <summary>
        /// 门店图片
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public string? StoreImge { get; set; }
        /// <summary>
        /// 客服电话
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public string? CustomerPhone { get; set; }
        /// <summary>
        /// 门店状态
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public string? StoreState { get; set; }
        /// <summary>
        /// 门店介绍
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public string? Storeintroduce { get; set; }
        /// <summary>
        /// 入住须知
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public string? StoreNotice { get; set; }
        /// <summary>
        /// 交通信息
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public string? StoreTraffic { get; set; }
        /// <summary>
        /// 配套设置id
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public int StoreAssorted { get; set; }
        /// <summary>
        /// 配套设施
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public string? adderId { get; set; }
    }
}
